
#include "xapp_config.h"

#include "system_list.h"

#include "xapp_osllv.h"
#include "xapp_clock.h"
#include "xapp_battery.h"
#include "xapp_fstore.h"
#include "xapp_system.h"

#if USER_CHECK_ENABLED( TOUCHPANEL )
#include "xapp_touchpanel.h"
#endif

#include "xapp_ble.h"

#include "xtask+peripheral.h"

#include "em_rtc.h"

#include "log.h"
#define LOG     LOG_INFO0



static void init(void)
{    
    LOG("[SYSTEM]: enter DEEP-POWER-OFF mode"); 
    // nothings to do 
    LOG("[SYSTEM]: DEEP-POWER-OFF init done");
}

static void destroy(void)
{
    LOG("[SYSTEM]: exit DEEP-POWER-OFF mode"); 
}

static void task_loop(uint8_t flag)
{

}

const user_system_desc_t  gsSYSTEM_DEEP_POWER_OFF = 
{
    .mode = SYSTEM_MODE_DEEP_POWER_OFF,
    .function = 
    {
    .init = init,
    .destroy = destroy,
    .task_loop = task_loop
    }
};

